/**
 * 
 */
package com.yuyi.model;

import java.io.Serializable;
import java.util.Date;

/**
 * 客服、用户、游客连接表
 *
 * @author wxt <br>
 *
 * 2019年4月1日 下午4:14:53
 *
 */
public class ClientinfoDO implements Serializable{

    /**
     * 
     */
    private static final long serialVersionUID = -8619180899025758541L;

    /**表id*/
    private Integer id;
    
    /**游客、用户、客服唯一标识(游客随机生成的名字、用户id、客服邮箱）*/
    private String clientid;
    
    /**1：在线，0：离线*/
    private Integer connected;
    
    /**消息唯一标识*/
    private Long mostsignbits;
    
    /**消息唯一标识*/
    private Long leastsignbits;
    
    /**连接时间*/
    private Date lastconnecteddate;

    public ClientinfoDO() {
        super();
    }

    public ClientinfoDO(Integer id, String clientid, Integer connected, Long mostsignbits, Long leastsignbits,
            Date lastconnecteddate) {
        super();
        this.id = id;
        this.clientid = clientid;
        this.connected = connected;
        this.mostsignbits = mostsignbits;
        this.leastsignbits = leastsignbits;
        this.lastconnecteddate = lastconnecteddate;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getClientid() {
        return clientid;
    }

    public void setClientid(String clientid) {
        this.clientid = clientid;
    }

    public Integer getConnected() {
        return connected;
    }

    public void setConnected(Integer connected) {
        this.connected = connected;
    }

    public Long getMostsignbits() {
        return mostsignbits;
    }

    public void setMostsignbits(Long mostsignbits) {
        this.mostsignbits = mostsignbits;
    }

    public Long getLeastsignbits() {
        return leastsignbits;
    }

    public void setLeastsignbits(Long leastsignbits) {
        this.leastsignbits = leastsignbits;
    }

    public Date getLastconnecteddate() {
        return lastconnecteddate;
    }

    public void setLastconnecteddate(Date lastconnecteddate) {
        this.lastconnecteddate = lastconnecteddate;
    }

    public static long getSerialversionuid() {
        return serialVersionUID;
    }

    @Override
    public String toString() {
        return "ClientinfoDO [id=" + id + ", clientid=" + clientid + ", connected=" + connected + ", mostsignbits="
                + mostsignbits + ", leastsignbits=" + leastsignbits + ", lastconnecteddate=" + lastconnecteddate + "]";
    }
    
    
}
